package com.zeng.jiudian.dao;

import com.zeng.jiudian.bean.ProductModel;

import java.util.List;

/**
 * @Author JJ_yo
 * @Date 2020/7/23 - 15:46
 */
public interface ProductDao
{
    public int add(ProductModel productModel);

    public List<ProductModel> findAll(ProductModel productModel);

    public int delById(int id);

    public ProductModel findById(int id);

    public int update(ProductModel productModel);

    public int getCount(ProductModel productModel);

    public List<ProductModel> getAll();
}
